********************************************************************************
* 'Respondign to Criticism: Autocratic States and Treaty Reservation Withdrawal'
* Authors: Kelebogile Zvobgo, Megan Shannon, and Cody D. Eldredge
* Date: November 2025
* Dataset: Replication_Zvobgo_Shannon_Eldredge.dta
* Description: Replication code for analyses in the main text
********************************************************************************

* Code for analyses in table in the main document

// Model 1

heckprobit withdrawal c.objections##c.avg_polity2, sel(reservation= i.legalsys avg_polity2 avg_nhri_powers demanding nonderog_prov avg_v2juhcind treateq_sup avg_fariss_latentmean avg_ln_gdp_percap avg_ln_pop_total) 


// Model 2

heckprobit withdrawal c.objections##c.avg_polity2 demanding nonderog_prov, sel(reservation= i.legalsys avg_polity2 avg_nhri_powers demanding nonderog_prov avg_v2juhcind treateq_sup avg_fariss_latentmean avg_ln_gdp_percap avg_ln_pop_total) 


// Model 3

heckprobit withdrawal c.objections##c.avg_polity2 treateq_sup avg_v2juhcind, sel(reservation= i.legalsys avg_polity2 avg_nhri_powers demanding nonderog_prov avg_v2juhcind treateq_sup avg_fariss_latentmean avg_ln_gdp_percap avg_ln_pop_total) 


// Model 4

heckprobit withdrawal c.objections##c.avg_polity2 demanding nonderog_prov treateq_sup avg_v2juhcind, sel(reservation= i.legalsys avg_polity2 avg_nhri_powers demanding nonderog_prov avg_v2juhcind treateq_sup avg_fariss_latentmean avg_ln_gdp_percap avg_ln_pop_total) 


// Model 5 

heckprobit withdrawal reviewXpolity avg_polity2, sel(reservation= i.legalsys avg_polity2 avg_nhri_powers demanding nonderog_prov avg_v2juhcind treateq_sup avg_fariss_latentmean avg_ln_gdp_percap avg_ln_pop_total) 


// Model 6

heckprobit withdrawal reviewXpolity avg_polity2 demanding nonderog_prov, sel(reservation= i.legalsys avg_polity2 avg_nhri_powers demanding nonderog_prov avg_v2juhcind treateq_sup avg_fariss_latentmean avg_ln_gdp_percap avg_ln_pop_total) 


// Model 7

heckprobit withdrawal reviewXpolity avg_polity2 treateq_sup avg_v2juhcind, sel(reservation= i.legalsys avg_polity2 avg_nhri_powers demanding nonderog_prov avg_v2juhcind treateq_sup avg_fariss_latentmean avg_ln_gdp_percap avg_ln_pop_total) 


// Model 8

heckprobit withdrawal reviewXpolity avg_polity2 demanding nonderog_prov treateq_sup avg_v2juhcind, sel(reservation= i.legalsys avg_polity2 avg_nhri_powers demanding nonderog_prov avg_v2juhcind treateq_sup avg_fariss_latentmean avg_ln_gdp_percap avg_ln_pop_total) 
